package serveurtp2;

import java.rmi.Remote;
import java.rmi.RemoteException;
import serveurtp2.exceptions.*;

public interface CoucheMetierRemoteResources extends Remote {

    public double calculAnnuit(double montantPret,double taux,int nombreAnnee) throws RemoteException, ErreurMontantPretException, ErreurTauxException, ErreurNombreAnneeException;
    public double calculNombreAn(double montantPret,double taux,double montantAnnuit) throws RemoteException, ErreurMontantPretException, ErreurTauxException, ErreurMontantAnnuitException;
}